<?php
/**
 * Created by PhpStorm.
 * User: tingyugetc
 * Date: 16/12/22
 * Time: 下午5:53
 */

defined('M') || define('M', 1048576);

return [
    'logo' => [
        // 存储目录
        'storage_path'    => public_path('trade/logos/'),

        // 图片最大大小
        'upload_max_size' => 1 * M, // 5M

        // 图片路径前缀， 如果使用第三方存储请添加域名
        'prefix'          => '/trade/logos',

        'allow_types'     => [
            'jpeg' => 'image/jpeg',
            'jpg' => 'image/jpeg',
            'png' => 'image/png',
            'bmp' => 'image/bmp',
            'gif' => 'image/gif',
        ]
    ],
];